'\" t
.\"     Title: ocf_pacemaker_attribute
.\"    Author: Andrew Beekhof <andrew@beekhof.net>
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 03/27/2020
.\"    Manual: Pacemaker Configuration
.\"    Source: Pacemaker Configuration
.\"  Language: English
.\"
.TH "OCF_PACEMAKER_ATTRIB" "7" "03/27/2020" "Pacemaker Configuration" "Pacemaker Configuration"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ocf_pacemaker_attribute \- Manages a node attribute
.SH "SYNOPSIS"
.PP
\fBOCF_RESKEY_state\fR=string
\fBOCF_RESKEY_name\fR=string [\fBOCF_RESKEY_active_value\fR=string] [\fBOCF_RESKEY_inactive_value\fR=string]

\fBattribute\fR
[start | stop | monitor | reload | migrate_to | migrate_from | validate\-all | meta\-data]
.SH "DESCRIPTION"
.PP
This resource agent controls a node attribute for the node it\*(Aqs running on\&. It sets the attribute one way when started, and another way when stopped, according to the configuration parameters\&.
.SH "SUPPORTED PARAMETERS"
.PP
\fBOCF_RESKEY_state\fR = string [/var/run/opa\-undef\&.state]
.RS 4
State file
.sp
Full path of a temporary file to store the resource state in
.RE
.PP
\fBOCF_RESKEY_name\fR = string [opa\-undef]
.RS 4
Attribute name
.sp
Name of node attribute to manage
.RE
.PP
\fBOCF_RESKEY_active_value\fR = string [1]
.RS 4
Attribute value when active
.sp
Value to use for node attribute when resource becomes active (empty string is discouraged, because monitor cannot distinguish it from a query error)
.RE
.PP
\fBOCF_RESKEY_inactive_value\fR = string [0]
.RS 4
Attribute value when inactive
.sp
Value to use for node attribute when resource becomes inactive
.RE
.SH "AUTHOR"
.PP
\fBAndrew Beekhof\fR <\&andrew@beekhof\&.net\&>
.RS 4
Author.
.RE
